package com.jds.architecture.exceptions;

import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionErrors;

/**
 * 
 */
public class ErrorHandler extends ActionErrors {

    public ErrorHandler(String siteAddress, HRSSystemException exception) {
        ActionError errorMessageKey = new ActionError(exception.getMessageKey());
        this.add("msgKey", errorMessageKey);
        
    }
}
